Only doctest rlibs
authorAlex Crichton <alex@alexcrichton.com>
Thu, 9 Apr 2015 17:43:49 +0000 (10:43 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 10 Apr 2015 17:38:42 +0000 (10:38 -0700)
commitb1076e73b1a24a80580ec1789091fee3101e96b5
tree1bbd109a6d05ecb79c61a53fe686b5d2a2bc587e
parent471c5197e24a1a9bc568b079da6849e80396ba28
Only doctest rlibs

This commit fixes two problems in Cargo:

1. Only libraries targets that produce an rlib can be doc tested
2. Only the rlib output can be doc tested

The rationale for this is listed in listed in the comments of the commit.

Closes #1496
src/cargo/core/manifest.rs
src/cargo/ops/cargo_test.rs
tests/test_cargo_test.rs